package com.yenlien.traceyun.milk.entity;

import com.yenlien.traceyun.business.entity.TraceEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Date 2022/10/17
 * @Author jiaLong
 * @Descript
 */
@Entity
@Table(name = "t_milk_manage")
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class MilkManage extends TraceEntity {

    private String name;     // 奶站姓名
    private String address;     // 奶站地址
    private String person;    // 奶站负责人
    private String phone;    // 负责人账号
    private String password;    // 密码
    private String companyName;    // 创建该数据的企业名称
    private String state;           // 状态   1=启用  2=禁用
}
